package com.cd.system.jpa.entityImport;

import lombok.Data;
import javax.persistence.*;
import java.io.Serializable;

/**
* @description 调度器状态表 ||  || 
* @author admin
* @date 2024-03-25
*/
@Entity
@Data
@Table(name = "qrtz_scheduler_state")
public class QrtzSchedulerState implements Serializable {

    private static final long serialVersionUID = 1L;

    @EmbeddedId
    private QrtzSchedulerStateKey id;

    //@Comment("上次检查时间")
    @Column(name = "last_checkin_time", nullable = false )
    private Long lastCheckinTime;

    //@Comment("检查间隔时间")
    @Column(name = "checkin_interval", nullable = false )
    private Long checkinInterval;

}

